FROM java:8
ADD minivideo-mini-api-1.0-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "/app.jar", "--com.stool.minivideo.fileSpace=/opt/software/minivideo/minivideo_dev", "--com.stool.minivideo.ffmpegEXE=/usr/bin/ffmpeg", "--spring.redis.host=118.89.24.43", "--spring.datasource.url=jdbc:mysql://118.89.24.43:3306/minivideo?useSSL=false&useUnicode=true&characterEncoding=UTF-8", "--server.port=8082"]
EXPOSE 8082